package com.liuyingxing.javaSpringCloudAccount.service;

import com.liuyingxing.entity.account.Menu;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * @File MenuService.java
 * @Auth liuxing
 * @Date 2021/8/25 17:45
 * @Email liuxing997@foxmail.com
 */
public interface MenuService {

    //查询所有菜单
    List<Menu> getAllMenus();

    //根据用户ID查询菜单
    List<Menu> getMenusByUserId(int userId);
}
